﻿using System;
using System.Globalization;

using Microsoft.Practices.Prism.ViewModel;

namespace Finance.UI.ViewModels
{
    public class CycleSummaryViewModel : NotificationObject
    {
        private Uri _IconUri;
        public Uri IconUri
        {
            get { return _IconUri; }
            set
            {
                _IconUri = value;
                RaisePropertyChanged("IconUri");
            }
        }

        //private string _Topic;
        //public string Topic
        //{
        //    get { return _Topic; }
        //    set
        //    {
        //        _Topic = value;
        //        RaisePropertyChanged("Topic");
        //    }
        //}

        private string _Cycle;
        public string Cycle
        {
            get { return _Cycle; }
            set
            {
                _Cycle = value;
                RaisePropertyChanged("Cycle");
            }
        }

        private double _Income;
        public double Income
        {
            get { return _Income; }
            set
            {
                _Income = value;
                RaisePropertyChanged("Income");
            }
        }

        private double _Payout;
        public double Payout
        {
            get { return _Payout; }
            set
            {
                _Payout = value;
                RaisePropertyChanged("Payout");
            }
        }

        public CycleSummaryViewModel(string cycle)
        {
            _Cycle = cycle;
        }
    }
}
